{% include "rpgEngine/head.html" %}
<script language="JavaScript" src="{{ MEDIA_URL }}shared/library.js">
</script>
<div id="primarycontent">
	
	<div class="LibraryPictures">
		</br></br>
		<img src="{{ MEDIA_URL }}shared/images/danza-de-la-muerte-06.png" alt="some_text"/> 
		<img src="{{ MEDIA_URL }}shared/images/danza-de-la-muerte-08.png" alt="some_text"/> 
		<img src="{{ MEDIA_URL }}shared/images/danza-de-la-muerte-13.png" alt="some_text"/> 
	</div>
	<div class="library_form">
	<form id="formUploadLibItem" action="/library/" method="post" enctype="multipart/form-data">
			<div class="library_form">
				{{ form.uploadLibItemFile }}
				<input type="submit" id="uploadLibItem" name="uploadLibItem" value="upload" alt="Upload the file" />
				{{ form.description }}
			</div>
		</form>
	</div>

	<br/>
	{% for id, label, path, description in itemList %}
	<div class="LibraryItem">
		<div class="name"><a href="{{ path }}" target="_blank">{{ label }}</a></div>
		<br/>
		<div class="content">{{ description }}</div>
		<div class="tag"><small>[[{{label}}]]</small></div>
		<div class="delete"><a href="#" onclick="confirmDelete('{{ id }}', '{{ label }}')"><small>delete</small></a></div>
	</div>
	{% endfor %}
</div>
{% include "rpgEngine/foot.html" %}
